package com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.CaseSelectionUploadInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.SearchCaseSelectionUploadInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.TongJiInfo;

import java.util.List;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface ICaseSelectionUploadService {
    List<CaseSelectionUploadInfo> selectPageListByQueryGetMap(Page<CaseSelectionUploadInfo> page, SearchCaseSelectionUploadInfo searchInfo);

    List<CaseSelectionUploadInfo> selectPageListByQueryGetGoBack(Page<CaseSelectionUploadInfo> page, SearchCaseSelectionUploadInfo searchInfo);

    List<CaseSelectionUploadInfo> getCaseList(int numberBars, int page);

    int getQueryPagesCount(Page<CaseSelectionUploadInfo> page, SearchCaseSelectionUploadInfo searchInfo);

    int getByQueryGetGoBackPagesCount(Page<CaseSelectionUploadInfo> page, SearchCaseSelectionUploadInfo searchInfo);

    int insert(CaseSelectionUploadInfo searchInfo);

    int update(CaseSelectionUploadInfo searchInfo);

    void deleteBodyPulpCase(String id);

    List<TongJiInfo> statistics(SearchCaseSelectionUploadInfo searchInfo);
}